package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.camel.base.enums.YesNo;
import com.camel.core.config.RequestEnumJsonDeserialize;
import com.camel.core.entity.BasePaginationEntity;
import com.camel.core.enumhandler.MyIntegerToEnumHandler;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;

/**
 *
 * @author 86183
 * @TableName zs_option
 */
@TableName(value ="zs_option")
@Data
public class ZsOption extends BasePaginationEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "mrid")
    private String mrid;

    /**
     * 名称，显示作用
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "has_remark")
    private Integer hasRemark;

    /**
     * 序号
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     * 问题
     */
    @TableField(value = "question_id")
    private Integer questionId;

    /**
     *
     */
    @TableField(value = "ignore_num")
    private Integer ignoreNum;

    /**
     * 下一个问题
     */
    @TableField(value = "target")
    private Integer target;

    /**
     * 配额
     */
    @TableField(value = "configration")
    private Integer configration;

    /**
     * 配额当前值
     */
    @TableField(value = "current")
    private Integer current;

    /**
     * 排他性
     */
    @TableField(value = "exclusivity")
    private Integer exclusivity;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Double score;

    /**
     * 选项类型 0： 普通输入， 1： 地址
     */
    @TableField(value = "otype")
    private Integer otype;

    /**
     *
     */
    @TableField(value = "data_id")
    private Integer dataId;

    /**
     * 自定义的针对选项的结束语
     */
    @TableField(value = "endshow_plus")
    private String endshowPlus;

    /**
     * 问卷ID
     */
    @TableField(value = "survey_id")
    private Integer surveyId;

    /**
     * 是否放弃样本
     */
    @TableField(value = "give_up")
    private Integer giveUp;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
